Leadtools Namespace > RasterImage Class > DitherLine Method : DitherLine(Byte[],Int32,Byte[],Int32) Method |
public void DitherLine( byte[] srcBuffer, int srcBufferOffset, byte[] destBuffer, int destBufferOffset )
'Declaration Public Overloads Sub DitherLine( _ ByVal srcBuffer() As Byte, _ ByVal srcBufferOffset As Integer, _ ByVal destBuffer() As Byte, _ ByVal destBufferOffset As Integer _ )
'Usage Dim instance As RasterImage Dim srcBuffer() As Byte Dim srcBufferOffset As Integer Dim destBuffer() As Byte Dim destBufferOffset As Integer instance.DitherLine(srcBuffer, srcBufferOffset, destBuffer, destBufferOffset)
public void DitherLine( byte[] srcBuffer, int srcBufferOffset, byte[] destBuffer, int destBufferOffset )
function Leadtools.RasterImage.DitherLine(Byte[],Int32,Byte[],Int32)( srcBuffer , srcBufferOffset , destBuffer , destBufferOffset )
public: void DitherLine( array<byte>^ srcBuffer, int srcBufferOffset, array<byte>^ destBuffer, int destBufferOffset )
This method uses the dithering method specified in the DitheringMethod property. Therefore, it provides better 4- or 8-bit output than the RasterBufferConverter.Convert method.
This method uses the palette that the StartDithering method specifies. The output of the DitherLine(Byte[],Int32,Byte[],Int32) method is made up of 1-, 4-, or 8-bit indexes to the specified palette. StopDithering cleans up the allocated variables and buffers. For a description of how the methods relate to each other, refer to the StartDithering.
This method does not support signed images.
For more information, refer to Introduction to Image Processing With LEADTOOLS.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
RasterImage Class
RasterImage Members
Overload List
Introduction to Image Processing With LEADTOOLS
Dithering Methods
Codecs.CodecsThumbnailOptions.DitheringMethod property
ImageProcessing.ColorResolutionCommand.DitheringMethod property
RasterDitheringMethod enumeration
RasterDefaults.DitheringMethod property
RasterImage.DitheringMethod property
RasterImage.StopDithering method
RasterImage.StartDithering method
RasterBufferConverter.Convert